package cn.powertime.evaluation.mapper;

import cn.powertime.evaluation.entity.CpsChapter;
import cn.powertime.evaluation.vo.AppCourseVo;
import cn.powertime.evaluation.vo.CpsSearchVo;
import cn.powertime.evaluation.vo.WebChapterVo;
import cn.powertime.evaluation.vo.WebRespChapterListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程章节表 Mapper 接口
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
public interface CpsChapterMapper extends BaseMapper<CpsChapter> {

    List<WebRespChapterListVo> chapterList(@Param("id") Long courseId, @Param("uid")Long uid);

    List<WebChapterVo> chapterLists(@Param("vo") AppCourseVo vo);
    List<WebChapterVo>  chapterSearchLists(@Param("vo")CpsSearchVo cpsSearchListVo);
    List<WebChapterVo> chapterListType(@Param("vo") AppCourseVo vo);
}
